package com.wkck.service;

import com.wkck.VO.FrontendDataVo;
import com.wkck.VO.PageResult;
import com.wkck.domain.Notice;
import com.wkck.domain.NoticeContent;
import com.wkck.dto.GetAllNoticesDto;

import java.util.List;

/**
 * @Author: CK
 * @Date: 2024/02/23/0:44
 * @Description:
 */
public interface HomeFrontendService {

    /**
    * @Author: CK
    * @Date: 2024/2/24
    * @Description: 首页数据
    */
    FrontendDataVo getFrontendData();

    /***
     * @Author: CK
     * @Date: 2024/3/23
     * @Param: [id]
     * @Description: 预览新闻
     */
    NoticeContent getPreviewNoticeContent(Long id);


    /***
     * @Author: CK
     * @Date: 2024/3/27
     * @Param: [type]
     * @return: @Description: 得到所有通知
     */
    PageResult getAllNotice(GetAllNoticesDto dto);
}
